package practice04;

public class Worker extends Person{
    private String name;
    private int age;

    public String introduce(){
        return super.introduce()+" I am a Worker. I have a job.";
    }

    public Worker(String name, int age) {
       super(name,age);
    }

    public Worker() {
    }

    public String getName() {
        return super.getName();
    }


    public int getAge() {
        return super.getAge();
    }

}
